home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6d 61 | 76 65 72 69 63 6b 2e 74 |Path: ma|verick.t|
|00000010| 61 64 2e 65 64 73 2e 63 | 6f 6d 21 6e 65 77 73 2d |ad.eds.c|om!news-|
|00000020| 61 64 6d 69 6e 40 74 61 | 64 2e 65 64 73 2e 63 6f |admin@ta|d.eds.co|
|00000030| 6d 0a 46 72 6f 6d 3a 20 | 45 72 69 63 6b 20 57 61 |m.From: |Erick Wa|
|00000040| 67 6e 65 72 20 3c 77 61 | 67 6e 65 72 65 40 6e 65 |gner <wa|gnere@ne|
|00000050| 74 63 6f 6d 2e 63 6f 6d | 3e 0a 4e 65 77 73 67 72 |tcom.com|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 4e |c.Subjec|t: Re: N|
|00000080| 65 77 62 69 65 20 2d 20 | 52 65 61 64 20 54 65 78 |ewbie - |Read Tex|
|00000090| 74 20 46 69 6c 65 73 20 | 71 75 65 73 21 0a 44 61 |t Files |ques!.Da|
|000000a0| 74 65 3a 20 33 30 20 4a | 61 6e 20 31 39 39 36 20 |te: 30 J|an 1996 |
|000000b0| 31 36 3a 35 35 3a 35 39 | 20 47 4d 54 0a 4f 72 67 |16:55:59| GMT.Org|
|000000c0| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 50 52 43 0a 4d |anizatio|n: PRC.M|
|000000d0| 65 73 73 61 67 65 2d 49 | 44 3a 20 3c 34 65 6c 69 |essage-I|D: <4eli|
|000000e0| 69 76 24 39 32 35 40 6d | 61 76 65 72 69 63 6b 2e |iv$925@m|averick.|
|000000f0| 74 61 64 2e 65 64 73 2e | 63 6f 6d 3e 0a 52 65 66 |tad.eds.|com>.Ref|
|00000100| 65 72 65 6e 63 65 73 3a | 20 3c 63 61 6b 61 6d 6d |erences:| <cakamm|
|00000110| 61 6e 2e 38 32 32 36 36 | 36 35 34 34 40 69 73 75 |an.82266|6544@isu|
|00000120| 6d 32 2e 69 61 73 74 61 | 74 65 2e 65 64 75 3e 0a |m2.iasta|te.edu>.|
|00000130| 4e 4e 54 50 2d 50 6f 73 | 74 69 6e 67 2d 48 6f 73 |NNTP-Pos|ting-Hos|
|00000140| 74 3a 20 31 34 38 2e 39 | 34 2e 38 2e 32 33 35 0a |t: 148.9|4.8.235.|
|00000150| 4d 69 6d 65 2d 56 65 72 | 73 69 6f 6e 3a 20 31 2e |Mime-Ver|sion: 1.|
|00000160| 30 0a 43 6f 6e 74 65 6e | 74 2d 54 79 70 65 3a 20 |0.Conten|t-Type: |
|00000170| 74 65 78 74 2f 70 6c 61 | 69 6e 3b 20 63 68 61 72 |text/pla|in; char|
|00000180| 73 65 74 3d 75 73 2d 61 | 73 63 69 69 0a 43 6f 6e |set=us-a|scii.Con|
|00000190| 74 65 6e 74 2d 54 72 61 | 6e 73 66 65 72 2d 45 6e |tent-Tra|nsfer-En|
|000001a0| 63 6f 64 69 6e 67 3a 20 | 37 62 69 74 0a 58 2d 4d |coding: |7bit.X-M|
|000001b0| 61 69 6c 65 72 3a 20 4d | 6f 7a 69 6c 6c 61 20 31 |ailer: M|ozilla 1|
|000001c0| 2e 32 32 20 28 57 69 6e | 64 6f 77 73 3b 20 49 3b |.22 (Win|dows; I;|
|000001d0| 20 31 36 62 69 74 29 0a | 54 6f 3a 20 63 61 6b 61 | 16bit).|To: caka|
|000001e0| 6d 6d 61 6e 40 69 61 73 | 74 61 74 65 2e 65 64 75 |mman@ias|tate.edu|
|000001f0| 0a 0a 63 61 6b 61 6d 6d | 61 6e 40 69 61 73 74 61 |..cakamm|an@iasta|
|00000200| 74 65 2e 65 64 75 20 28 | 43 68 72 69 73 20 41 20 |te.edu (|Chris A |
|00000210| 4b 61 6d 6d 61 6e 29 20 | 77 72 6f 74 65 3a 0a 3e |Kamman) |wrote:.>|
|00000220| 48 69 2c 0a 3e 09 48 6f | 77 20 63 61 6e 20 49 20 |Hi,.>.Ho|w can I |
|00000230| 77 72 69 74 65 20 63 6f | 64 65 20 74 6f 20 72 65 |write co|de to re|
|00000240| 61 64 20 74 65 78 74 20 | 66 69 6c 65 73 20 6f 6e |ad text |files on|
|00000250| 20 55 4e 49 58 20 61 6e | 64 0a 3e 44 4f 53 2e 20 | UNIX an|d.>DOS. |
|00000260| 0a 3e 09 49 20 61 6d 20 | 63 75 72 72 65 6e 74 6c |.>.I am |currentl|
|00000270| 79 20 75 73 69 6e 67 20 | 66 67 65 74 73 20 61 6e |y using |fgets an|
|00000280| 64 20 73 74 72 74 6f 6b | 20 74 6f 20 67 65 74 20 |d strtok| to get |
|00000290| 77 68 61 74 20 49 0a 3e | 6e 65 65 64 2e 20 42 75 |what I.>|need. Bu|
|000002a0| 74 20 69 66 20 49 20 74 | 61 6b 65 20 61 20 66 69 |t if I t|ake a fi|
|000002b0| 6c 65 20 66 72 6f 6d 20 | 55 4e 49 58 20 28 20 6e |le from |UNIX ( n|
|000002c0| 6f 20 5c 72 20 29 20 49 | 20 61 6d 20 68 61 76 69 |o \r ) I| am havi|
|000002d0| 6e 67 0a 3e 70 72 6f 62 | 6c 65 6d 73 20 69 6e 20 |ng.>prob|lems in |
|000002e0| 44 4f 53 2e 0a 0a 53 6f | 75 6e 64 73 20 6c 69 6b |DOS...So|unds lik|
|000002f0| 65 20 79 6f 75 20 64 69 | 64 20 61 20 22 62 69 6e |e you di|d a "bin|
|00000300| 61 72 79 22 20 72 61 74 | 68 65 72 20 74 68 61 6e |ary" rat|her than|
|00000310| 20 61 20 22 74 65 78 74 | 22 20 74 72 61 6e 73 66 | a "text|" transf|
|00000320| 65 72 20 6f 66 20 74 68 | 61 74 0a 74 65 78 74 20 |er of th|at.text |
|00000330| 66 69 6c 65 2e 20 20 41 | 20 22 74 65 78 74 22 20 |file. A| "text" |
|00000340| 74 72 61 6e 73 66 65 72 | 20 77 6f 75 6c 64 20 68 |transfer| would h|
|00000350| 61 76 65 20 74 72 61 6e | 73 6c 61 74 65 64 20 61 |ave tran|slated a|
|00000360| 6c 6c 20 6f 66 20 74 68 | 65 20 4c 46 0a 63 68 61 |ll of th|e LF.cha|
|00000370| 72 61 63 74 65 72 73 20 | 69 6e 74 6f 20 43 52 4c |racters |into CRL|
|00000380| 46 20 70 61 69 72 73 20 | 77 68 65 6e 20 74 68 65 |F pairs |when the|
|00000390| 20 66 69 6c 65 20 77 61 | 73 20 62 72 6f 75 67 68 | file wa|s brough|
|000003a0| 74 20 6f 76 65 72 20 74 | 6f 20 4d 53 2d 44 4f 53 |t over t|o MS-DOS|
|000003b0| 2e 0a 0a 54 68 65 72 65 | 20 61 72 65 20 61 74 20 |...There| are at |
|000003c0| 6c 65 61 73 74 20 74 68 | 72 65 65 20 64 69 66 66 |least th|ree diff|
|000003d0| 65 72 65 6e 74 20 6d 65 | 74 68 6f 64 73 20 66 6f |erent me|thods fo|
|000003e0| 72 20 74 65 72 6d 69 6e | 61 74 69 6e 67 20 6c 69 |r termin|ating li|
|000003f0| 6e 65 73 20 69 6e 0a 74 | 65 78 74 20 66 69 6c 65 |nes in.t|ext file|
|00000400| 73 3a 0a 0a 28 31 29 20 | 4c 46 20 2d 20 6c 69 6b |s:..(1) |LF - lik|
|00000410| 65 20 55 4e 49 58 20 64 | 6f 65 73 0a 28 32 29 20 |e UNIX d|oes.(2) |
|00000420| 43 52 20 2d 20 6c 69 6b | 65 20 41 70 70 6c 65 20 |CR - lik|e Apple |
|00000430| 64 6f 65 73 0a 28 33 29 | 20 43 52 4c 46 20 2d 20 |does.(3)| CRLF - |
|00000440| 6c 69 6b 65 20 43 50 2f | 4d 20 61 6e 64 20 4d 53 |like CP/|M and MS|
|00000450| 2d 44 4f 53 20 64 6f 0a | 0a 49 27 6d 20 66 61 69 |-DOS do.|.I'm fai|
|00000460| 72 6c 79 20 63 65 72 74 | 61 69 6e 20 28 63 6f 75 |rly cert|ain (cou|
|00000470| 6c 64 20 62 65 20 77 72 | 6f 6e 67 29 20 74 68 61 |ld be wr|ong) tha|
|00000480| 74 20 6d 6f 73 74 20 6f | 66 20 74 68 65 20 43 20 |t most o|f the C |
|00000490| 66 75 6e 63 74 69 6f 6e | 73 20 6f 6e 6c 79 0a 73 |function|s only.s|
|000004a0| 75 70 70 6f 72 74 20 74 | 68 65 20 63 6f 6e 63 65 |upport t|he conce|
|000004b0| 70 74 20 6f 66 20 6e 65 | 77 6c 69 6e 65 20 28 5c |pt of ne|wline (\|
|000004c0| 6e 29 2e 20 20 54 68 65 | 20 69 6d 70 6c 65 6d 65 |n). The| impleme|
|000004d0| 6e 74 61 74 69 6f 6e 20 | 6f 66 20 43 20 6f 6e 20 |ntation |of C on |
|000004e0| 61 0a 70 61 72 74 69 63 | 75 6c 61 72 20 70 6c 61 |a.partic|ular pla|
|000004f0| 74 66 6f 72 6d 20 28 65 | 2e 67 2e 2c 20 4d 53 2d |tform (e|.g., MS-|
|00000500| 44 4f 53 29 20 77 6f 75 | 6c 64 20 74 72 65 61 74 |DOS) wou|ld treat|
|00000510| 20 74 68 65 20 6e 65 77 | 6c 69 6e 65 20 63 68 61 | the new|line cha|
|00000520| 72 61 63 74 65 72 0a 61 | 73 20 74 68 65 20 70 72 |racter.a|s the pr|
|00000530| 6f 70 65 72 20 6c 69 6e | 65 20 74 65 72 6d 69 6e |oper lin|e termin|
|00000540| 61 74 69 6f 6e 20 73 65 | 71 75 65 6e 63 65 20 66 |ation se|quence f|
|00000550| 6f 72 20 74 68 61 74 20 | 70 6c 61 74 66 6f 72 6d |or that |platform|
|00000560| 2e 20 20 46 6f 72 20 4d | 53 2d 44 4f 53 2c 0a 6e |. For M|S-DOS,.n|
|00000570| 65 77 6c 69 6e 65 20 69 | 73 20 43 52 4c 46 2c 20 |ewline i|s CRLF, |
|00000580| 6f 6e 20 41 70 70 6c 65 | 20 69 74 20 77 6f 75 6c |on Apple| it woul|
|00000590| 64 20 62 65 20 43 52 2c | 20 65 74 63 2e 0a 0a 45 |d be CR,| etc...E|
|000005a0| 72 69 63 6b 0a 0a 0a 0a | 0a 0a |rick....|.. |
+--------+-------------------------+-------------------------+--------+--------+